<?php
$userMessage = $c->show_user_by_id($uid);
$userName = $userMessage['screen_name'];
$userName = $userName?$userName:$uid;
?>
<!-- Headline Start -->
<div class="headLine">
<div class="headLineBackground">
<div class="headLineInner">
<div class="headLineLogo" onclick="location.href='/'"></div>
<div class="wHeadLinks"><a target="_self" href="/">首页</a></div>
<div class="wHeadLinks"><a href="/public">浏览</a></div>
<div class="headLineLinks">
	<div class="headLinePublishIcon" onclick="showPublishBox();"></div>
	<div class="wHeadLinks"><a href="/user/<?php echo $userName; ?>"><?php echo $userName; ?></a></div>
	<div class="wHeadLinks" onclick="whover('cmtmenu', 0);"><a id="cmt" href="/type/comments" onclick="return false;">评论</a>
		<div id="cmtNum" class="noticeNum"></div>
		<div id="cmtmenu" class="wHeadMenu" onmouseout="whout('cmtmenu', 0)" onmouseover="whover('cmtmenu', 0);">
			<div class="wHeadMenuTitle"><a href="/type/comments">评论</a></div>
			<div class="wHeadMenuContents">
				<div class="wHeadMenuLinks"><a href="/type/comments">我收到的评论</a>
					<div id="cmtRevNum" class="noticeNum"></div>
				</div>
				<div class="wHeadMenuLinks"><a href="/type/sentcomments">我发出的评论</a></div>
			</div>
		</div>
	</div>
	<div class="wHeadLinks"><a id="msg" target="_blank" href="http://weibo.com/messages" onclick="this.style.color='#ffffff';">私信</a><div id="msgNum" class="noticeNum"></div></div>
	<div class="wHeadLinks" onclick="whover('mtnmenu', 1);"><a id="mtn" href="/type/mentions" onclick="return false;">@我</a>
		<div id="mtnNum" class="noticeNum"></div>
		<div id="mtnmenu" class="wHeadMenu" onmouseout="whout('mtnmenu', 1)" onmouseover="whover('mtnmenu', 1)">
			<div class="wHeadMenuTitle"><a href="/type/mentions">@我</a></div>
			<div class="wHeadMenuContents">
				<div class="wHeadMenuLinks"><a href="/type/mentions">@我的微博</a>
					<div id="mtnWeiboNum" class="noticeNum"></div>
				</div>
				<div class="wHeadMenuLinks"><a href="/type/mentioncomments">@我的评论</a>
					<div id="mtnCommentNum" class="noticeNum"></div>
				</div>
			</div>
		</div>
	</div>
	<div class="wHeadLinks"><a target="_self" href="/logout">退出</a></div>
	<div class="floatClear"></div>
</div>
<div class="headLineSearchBar">
<div class="headLineSearchBackground">
<div class="headLineSearchBox"><input id="s" autocomplete="off" type="text" onkeydown="if(event.keyCode==13){doSearch(this.value);return false;}" /></div>
<div class="headLineSearchIcon" onclick="if(document.getElementById('s').value){doSearch(document.getElementById('s').value);}"></div>
<div class="floatClear"></div>
</div>
</div>
</div>
</div>
<div class="headLineShadow">
<div id="topNotice">发布成功</div>
</div>
</div>
<!-- Headline End -->